package one_07_OOP.demo01;

public class demo02 {
    //值传递
    public static void main(String[] args) {
        int a = 1;
        System.out.println(a);

        change(a);

        System.out.println(a);//1
    }

    // 返回值为空
    public static void change(int a){
        a = 10;
    }
}
